package com.xbongbong.pro.menu.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * 菜单设置（常用表单，快捷新建）
 * @author 吴峰
 * @version v1.0
 * @date 2019/1/9 19:55
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ControlMenuSetDTO extends BaseDTO {

    private static final long serialVersionUID = 7287384660832019138L;
    /**
     * 常用表单列表
     */
    @Size(max = 7 ,message = "{dto.msg.controlMenuSet.commonFormList.Size}")
    private List<Long> commonFormList;

    /**
     * 快捷新建表单列表
     */
    @Size(max = 12, message = "{dto.msg.controlMenuSet.quickNewFormList.Size}")
    private List<Long> quickNewFormList;


}
